home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / disk / misc / ADFlib.lha / Lib / adf_cache.h < prev    next >
C/C++ Source or Header  |  1999-05-22  |  1KB  |  29 lines

  1. #ifndef _ADF_CACHE_H
  2. #define _ADF_CACHE_H 1
  3. /*
  4.  *  ADF Library. (C) 1997-1998 Laurent Clevy
  5.  *
  6.  *  adf_cache.h
  7.  *
  8.  */
  9.  
  10.  
  11. #include "adf_str.h"
  12.  
  13. void adfGetCacheEntry(struct bDirCacheBlock *dirc, int *p, struct CacheEntry *cEntry);
  14. int adfPutCacheEntry( struct bDirCacheBlock *dirc, int *p, struct CacheEntry *cEntry);
  15.  
  16. struct List* adfGetDirEntCache(struct Volume *vol, SECTNUM dir, BOOL recurs);
  17.  
  18. RETCODE adfCreateEmptyCache(struct Volume *vol, struct bEntryBlock *parent, SECTNUM nSect);
  19. RETCODE adfAddInCache(struct Volume *vol, struct bEntryBlock *parent, struct bEntryBlock *entry);
  20. RETCODE adfUpdateCache(struct Volume *vol, struct bEntryBlock *parent, struct bEntryBlock *entry, BOOL);
  21. RETCODE adfDelFromCache(struct Volume *vol, struct bEntryBlock *parent, SECTNUM);
  22.  
  23. RETCODE adfReadDirCBlock(struct Volume *vol, SECTNUM nSect, struct bDirCacheBlock *dirc);
  24. RETCODE adfWriteDirCBlock(struct Volume*, long, struct bDirCacheBlock* dirc);
  25.  
  26. #endif /* _ADF_CACHE_H */
  27.  
  28. /*##########################################################################*/
  29.